]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Reduce minimum OSK key width/height
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 21 Jan 2019 20:34:27 +0000 (21:34 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 5 Feb 2019 15:25:54 +0000 (16:25 +0100)
The OSK panel uses 1/3rd of the monitor height, plus we specify a minimum
size for the keys. This doesn't play along if contents won't fit (short
monitor, big fonts, ...) pushing contents offscreen. Reduce the minimum
size a bit so there's better chances to fit.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/675
data/theme/gnome-shell-sass/_common.scss

index 1c4f85f89e60f30b0d54790885ebd58389318dc2..dc72a492536300d97b537b00b3fde6adc6b4d7c3 100644 (file)
@@ -1644,8 +1644,8 @@ StScrollBar {
 
   .keyboard-key {
     background-color: #393f3f;
-    min-height: 2em;
-    min-width: 2em;
+    min-height: 1.2em;
+    min-width: 1.2em;
     font-size: 16pt;
     border-radius: 3px;
     border: 1px solid #464d4d;